import zrender from 'zrender'
const img = require('../img/github.png')
export default () => {
  console.log('start running...')
  console.log(zrender)
  var zr = zrender.init(document.getElementById('main'))
  var image = new zrender.Image({
    style: {
      image: img,
      x: 150,
      y: 150,
      width: 100,
      height: 100
    }
  });
  zr.add(image)
}